package org.sdp.pearproject.controller;


import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import org.sdp.pearproject.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: ProjectMemberSuperController
 * @Description:
 * @Author: SDP
 * @Date: 2022-07-12
 * @Version: 1.0
 * Table: pear_project_member
 * Comment:
 * 项目-成员表
 */
public class ProjectMemberSuperController extends BaseController {
    @Autowired
    ProjectMemberService service;

    public Integer addProjectMember(ProjectMemberAddRequest request) throws Exception {
        return service.addProjectMember(request);
    }

    public Integer updateProjectMember(ProjectMemberUpdateRequest request) throws Exception {
        return service.updateProjectMember(request);
    }

    public Integer deleteProjectMember(ProjectMemberDeleteRequest request) throws Exception {
        return service.deleteProjectMember(request);
    }

    public ProjectMemberQueryResponse queryProjectMember(ProjectMemberQueryRequest request) throws Exception {
        return service.queryProjectMember(request);
    }

    public List<ProjectMemberQueryResponse> listProjectMember(ProjectMemberQueryRequest request) throws Exception {
        return service.listProjectMember(request);
    }

    public Integer countProjectMember(ProjectMemberQueryRequest request) throws Exception {
        return service.countProjectMember(request);
    }

    public BaseStatResponse statProjectMember(ProjectMemberQueryRequest request) throws Exception {
        return service.statProjectMember(request);
    }


}
